package com.fishery.processing.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fishery.processing.entity.MaterialInventory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fishery.processing.entity.vo.MaterialInventoryVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author run
 * @since 2021-03-12
 */
public interface MaterialInventoryService extends IService<MaterialInventory> {

    public IPage<MaterialInventoryVo> getMaterialOfFactory(String factoryId, Integer page, Integer size);

    public List<MaterialInventoryVo> getMaterialOfFactory(String factoryId);

    public boolean createMaterial(MaterialInventory material);
}
